package com.example.gpstracking;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.HashMap;
import java.util.Map;

abstract class base {

    protected static final String REMOTEPATH = "/sdcard/";
    protected static final String LOCALPATH = "/sdcard/";
    protected static final String EXT = ".ser";
    protected static final String FILECOMMANDS = LOCALPATH + "address" + EXT;
    protected static final String FILELABS = LOCALPATH + "labs" + EXT;

    FileInputStream fis;
    FileOutputStream fos;
    
    String filename;
    Map<String, String> aa,mapa_ = new HashMap<String, String>();
    
    abstract void method1();
    String PathToFile(int value){
            switch (value) {
            case 0:// commands
                    return FILECOMMANDS;
            case 1:// labs
                    return FILELABS;
            }
                    return null;
    }
}
